All Questions
14 questions
0votes
0answers
60views
Robot Framework Fails to Open Browser on Host Machine When Running from Podman Container
How can I allow the Robot Framework test to open a browser on my host machine from within the Podman container? I have tried doing this but the robot suite fails to open the browser on my host machine....
0votes
0answers
51views
Explicit wait only working when implicit wait is present
I have an automation project in Java that uses Cucumber, JUnit 5 and Selenium. I'm automating some UI test cases for a web application. Recently I was refactoring my code and getting rid of a lot of ...
0votes
1answer
100views
To find X path of the capital city of country but by using countries X path
Hi guys I want to find the X path of the capital city of the country by using the country.Help me in finding the X path. I have used independent and dependent X path but not able to find it. Link of ...
1vote
3answers
2kviews
How to open Chrome with a specific profile using Selenium
I’m trying to open a youtube page with my Chrome profile so I don’t have to sign in and do the MFA which ruins the automation. This is my code from selenium import webdriver from selenium.webdriver....
-1votes
1answer
267views
switchto.defaultcontent() method not working with chromedriver 99.0.434
Problem: On a web page> + icon>clicking on it>opens a small widget on same page. it has iframe to access the fields, so switch to iframe. after this need to click on a button which does not ...
1vote
3answers
2kviews
Found one strange behavior in webdriver io, .equals method is not working but ' === ' is working in assertion
Hello I am new to webdriverio automation, and while practice webdriverio, I found one strange behavior. This is my test code const internetPage = require("../pages/InternetPage"); //...
0votes
1answer
30views
Cannot find element for Selenium on a website on Chrome
So I'm trying to create a Selenium automation in Python but I can't for the life of me figure out where the xpath/class/id/etc for the username or password fields are. I'm trying to work with this ...
0votes
1answer
1kviews
Trying to automate Amazon login using Selenium but getting JavaScript error
I'm trying to automate Amazon login using Selenium but getting a JavaScript error. The following code gives the error below, how to solve this? options = webdriver.ChromeOptions() options.add_argument(...
0votes
1answer
28views
Can I integrate Chromedriver into a Maven Project where I don't need put it in my local machine?
What I am doing now is I am putting my Chromedriver in my local machine C://Program Files/chromedriver. Is there a way to integrate/put chromedriver in my Java Maven Project for Automation testing ...
0votes
1answer
160views
How do I need correctly select items in dropdown menu?
I am new with automation testing and right now I'm trying to select values in drop down menu. As I understand there are 2 drop downs in my example, but lack of experience makes it difficult to get the ...
-1votes
2answers
2kviews
Clicking multiple buttons on same page with Selenium Python
I am very new to Python and Selenium. I am using chromedriver. I need some help. I have a web page unfortunately I cannot show it because it's blocked to be opened from everyone but locally at work. ...
0votes
1answer
718views
Selenium/TestNG: How to run a part of code only once with DataProvider
Is there a way I can use Data Provider for only part of the code but not for the entire class? For example, if I want to do 1. Function A - Login 2. Function B - X (with 5 rows in the data sheet ...
0votes
2answers
663views
Auto suggestion list Element's are displayed twice in the result set in Console,what ll be the code to click on list element on the basis of text
Following is the code to get the list elements name and click on the desired list element: below is the attachment of result : Console displaying list items twice : what could be the other ways to ...
3votes
2answers
3kviews
How to open chrome driver (Using Selenium Webdriver) in foreground. By default its opening in background with no focus
I've been using chrome driver (with selenium wedriver), so far it never caused any issue, now for some requirement it has to be in foreground with focus on it. How can I make sure it is in the ...